<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title th:text="'\u4f60\u597d'">Insert title here</title>

<link rel="stylesheet" href="css/1140.css" th:href="@{/css/1140.css}" type="text/css" media="screen" />
	
<link rel="stylesheet" href="css/normalize.css" th:href="@{/css/normalize.css}"/>
<link rel="stylesheet" href="css/main.css" th:href="@{/css/main.css}"/>
<link rel="stylesheet" href="css/css.css" th:href="@{/css/css.css}"/>
<link rel="stylesheet" href="css/jquery.dataTables_themeroller.css" th:href="@{/css/jquery.dataTables_themeroller.css}"/>
    
<script src="js/vendor/modernizr-2.6.2.min.js" th:src="@{/js/vendor/modernizr-2.6.2.min.js}"></script>
<script src="js/vendor/css3-mediaqueries.js" th:src="@{/js/vendor/css3-mediaqueries.js}"></script>
<script src="http://lib.sinaapp.com/js/jquery/1.9.0/jquery.min.js" th:src="@{http://lib.sinaapp.com/js/jquery/1.9.0/jquery.min.js}"></script>
<script th:inline="javascript">/*<![CDATA[*/
window.jQuery || document.write('<script src="'+ /*[[@{/js/vendor/jquery-1.9.0.min.js}]]*/ 'js/vendor/jquery-1.9.0.min.js'
		+'"><\/script>')
/*]]>*/</script>
<script src="js/vendor/jquery.dataTables.min.js" th:src="@{/js/vendor/jquery.dataTables.min.js}"></script>
<script src="js/plugins.js" th:src="@{/js/plugins.js}"></script>
<script src="js/main.js" th:src="@{/js/main.js}"></script>
<script type="text/javascript" th:inline="javascript">
/*<![CDATA[*/
$(function(){
	//$('#ckeditor').
	
	$('#brokerTable').dataTable();
	$('button').bind('click', function(){
		var oid = $(this).parent().parent().attr('data');
		window.location.href= /*[[@{/admin/broker/update/}]]*/''
		+ oid;
	});
});
/*]]>*/
</script>
</head>
<body>

	<table id="brokerTable">
		<thead>
			<tr>
				<th>name</th>
				<th>logo</th>
				<th th:text="#{brokerindexpage.content.broker.regulation}"></th>
				<th>min open</th>
				<th>min trade</th>
				<th>max leverage</th>
				<th>order</th>
				<th>active</th>
				<th>operation</th>
			</tr>
		</thead>
		<tr th:each="broker: ${brokerList}" th:data="${broker.id}">
			<td th:text="${broker.name}"></td>
			<td style="width: 100px;"><img th:src="@{/images/broker/} + ${broker.brokerImgUrl}"/></td>
			<td th:text="${broker.regulationInfo}"></td>
			<td th:text="${broker.minOpen}"></td>
			<td th:text="${broker.minTrade}"></td>
			<td th:text="${broker.maxLeverage}"></td>
			<td th:text="${broker.order}"></td>
			<td th:text="${broker.active}"></td>
			<td>
				<button>modify</button>
			</td>
		</tr>
	</table>
	
	
</body>
</html>